// 网站顶部导航部分
.header {
    background: #eaeaea;
    height: 30px;
    .content;

    .content {
        line-height: 30px;

        p {
            float: left;

            a {
                padding: 0 5px;
            }

            strong {
                font-weight: bold;
            }
        }

        div {
            float: right;
        }

        a {
            border-right: 1px solid #b3aeae;
            padding: 0 10px;

            &:last-child {
                border-right: none;
            }
        }
    }
}

// 网站logo及搜索栏部分
.content {
    width: 1200px;
    margin: 0 auto;
    .clearfix;
}

.logo {
    float: left;
    margin: 25px 45px;
}

.searchbox {
    float: right;
    margin-top: 35px;

    input {
        float: left;

        &:first-child {
            box-sizing: border-box;
            width: 490px;
            height: 32px;
            padding: 0px 4px;
            border: 3px solid #ea4a36;
        }

        ;

        &:last-child {
            width: 68px;
            height: 32px;
            background-color: #ea4a36;
            color: #fff;
            border: none;
        }
    }
}

// 网站logo及搜索栏部分结束

.clearfix {
    &::after {
        content: '';
        display: block;
        clear: both;
    }
}

// 网站导航栏开始
.nav {
    border-bottom: 2px solid #e1251b;

    .content {
        .content;
        line-height: 50px;

        h3 {
            width: 210px;
            height: 50px;
            background: #e1251b;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            float: left;
            margin: 0 20px;

            a {
                color: #FFF;
            }
        }

        ul {
            float: left;

            li {
                float: left;
                margin: 0px 22px;
                font-size: 16px;

                a {
                    color: #333;
                }
            }
        }
    }
}

// 网站导航栏结束


// 面包屑导航
.crumbbox {
    margin-top: 15px;
}

// 主体部分
.mainBox {
    margin: 5px 0 15px;

    .mainBox_l {
        width: 400px;
        float: left;

        .sImgBox {
            border: 1px solid #DFDFDF;
            position: relative;

            .bigImgBox {
                width: 400px;
                height: 400px;
                position: absolute;
                left: 420px;
                top: 0;
                z-index: 100;
                border: 1px solid #ddd;
                background: url(../images/b1.png);
                display: none;
            }

            .mask {
                width: 200px;
                height: 200px;
                background: rgba(255, 255, 255, .5);
                border: 1px solid #ddd;
                position: absolute;
                top: 0;
                left: 0;
                display: none;
            }

            img {
                width: 100%;
                height: 100%;
            }
        }

        .sImgList {
            .clearfix;
            margin-top: 5px;

            .sImgMid {
                width: 368px;
                float: left;
                overflow: hidden;
                margin-left: 8px;
            }

            a {
                width: 10px;
                height: 54px;
                float: left;
                border: 1px solid #CCC;
                background: #EBEBEB;
                line-height: 54px;
            }

            ul {
                transition: 1s all ease;
                float: left;
                width: 3000px;
                height: 56px;

                li {
                    width: 50px;
                    height: 50px;
                    border: 1px solid #CCC;
                    padding: 2px;
                    margin-right: 20px;
                    float: left;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }

    .mainBox_r {
        width: 700px;
        float: right;

        .title {
            font-size: 14px;
            line-height: 21px;
            margin-top: 15px;
        }

        .recommend {
            margin-top: 15px;
            color: #e12228;
        }

        .priceBox {
            background: #fee9ec;
            margin-top: 10px;
            line-height: 28px;
            padding: 7px;
            position: relative;

            i {
                position: absolute;
                right: 20px;
                top: 10px;
            }

            div {
                &:first-child {
                    .clearfix;

                    h6 {
                        float: left;
                        font-weight: normal;
                        margin-right: 15px;
                    }

                    p {
                        float: left;
                        color: #cc1122;
                        font-size: 16px;

                        em {
                            font-size: 24px;
                            font-weight: bold;
                        }

                        a {
                            font-size: 12px;
                            color: #cc1122;
                        }
                    }
                }

                &:last-child {
                    .clearfix;

                    h6 {
                        float: left;
                        font-weight: normal;
                        margin-right: 15px;
                    }

                    p {
                        float: left;
                        width: 520px;

                        span {
                            background: #c81623;
                            color: #FFF;
                            padding: 3px;
                        }
                    }
                }
            }
        }

        .supportBox {
            border-bottom: 1px solid #ededed;
            padding-bottom: 5px;

            p {
                margin-top: 10px;
                line-height: 28px;

                em {
                    margin-right: 15px;
                }

                i {
                    width: 520px;
                    display: inline-block;
                    color: #999;
                }
            }
        }

        .chooseBox {
            margin-top: 20px;

            span {
                background: snow;
                border: 1px solid #DDD;
                padding: 0 20px;
                margin-right: 20px;
                height: 30px;
                line-height: 30px;
                display: inline-block;

                i {
                    margin-left: 20px;
                    color: red;
                }
            }
        }

        .main_box_rumb_box {
            margin-top: 10px;
            line-height: 28px;

            dl {
                .clearfix;
                margin: 13px 0;

                dt {
                    margin-right: 15px;
                    float: left;
                }

                dd {
                    margin-right: 5px;
                    float: left;
                    color: #666;
                    padding: 2px 14px;
                    line-height: 24px;
                    border-left: 1px solid #eee;
                    border-top: 1px solid #eee;
                    border-right: 1px solid #ddd;
                    border-bottom: 1px solid #ddd;
                    cursor: pointer;

                    // &:first-of-type{
                    //     color: red;
                    // }
                    &:nth-child(2) {
                        color: red;
                    }
                }

                .active {
                    color: red;
                }
            }
        }

        .changeCountBox {
            .countBox {
                float: left;
                width: 55px;
                margin-right: 15px;
                position: relative;

                input {
                    width: 38px;
                    height: 37px;
                    border: 1px solid #ddd;
                    color: #555;
                    border-right: none;
                }

                a {
                    position: absolute;
                    right: 0;
                    top: 0;
                    width: 15px;
                    height: 18px;
                    line-height: 18px;
                    text-align: center;
                    border: 1px solid #DDD;

                    &:last-child {
                        top: 19px;
                    }
                }

            }

            button {
                padding: 0 25px;
                height: 36px;
                float: left;
                font-size: 16px;
                background: #e1251b;
                color: #FFF;
                border: none;
            }
        }
    }
}


// 主体下部
.main_bot {
    margin-top: 30px;

    .main_bot_l {
        width: 210px;
        border: 1px solid #ccc;
        float: left;

        .tabBtnBox {
            height: 40px;

            a {
                border-top: 3px solid #FFF;
                border-bottom: 1px solid #CCC;
                width: 105px;
                float: left;
                line-height: 37px;
                text-align: center;

                &.active {
                    border-color: #e1251b;
                    border-bottom: none;
                }
            }
        }

        .tabListBox {
            padding: 10px;
            > div{
                display: none;
            }
            .show{
                display: block;
            }

            ul {
                li {
                    width: 50%;
                    float: left;
                    border-bottom: 1px dashed #ededed;
                    line-height: 28px;
                }
            }

            ol {
                li {
                    margin: 5px 0 15px;
                    border-bottom: 1px solid #ededed;

                    img {
                        width: 152px;

                    }
                    em{
                        font-size: 16px;
                        color: #c81623;
                    }
                    div{
                        text-align: center;
                        margin: 5px 0;
                        a{
                            border: 1px solid #8c8c8c;
                            color: #8c8c8c;
                            padding: 2px 14px;
                            line-height: 18px;
                        }
                    }
                }
            }
        }
    }
    .main_bot_r {
        float:right;
        width: 980px;
        .main_bot_r_t{
            border: 1px solid #ddd;
            margin-bottom: 15px;
            h4{
                border-bottom: 1px solid #ddd;
                background: #f1f1f1;
                color: #333;
                padding: 5px 0 5px 15px;
            }
            .main_bot_r_t_box{
                padding-top: 10px;
                height: 170px;
                .clearfix;
                div{
                    &:first-child{
                        float: left;
                        width: 127px;
                        height: 165px;
                        text-align: center;
                        position:relative;
                        img{
                            width: 87px;
                            display: inline-block;

                        }
                        p{
                            color: #c81623;
                            font-size: 16px;
                        }
                        em{
                            position: absolute;
                            top: 40%;
                            right:-30px;
                        }
                    }
                    &:last-child{
                        border-left: 1px solid #ddd;
                        float: left;
                        width: 153px;
                        height: 165px;
                        padding-left: 20px;
                        p{
                            &:nth-child(1){
                                margin: 10px 0;
                            }
                            &:nth-child(2){
                                margin-bottom: 10px;
                                font-weight: bold;
                            }
                            &:nth-child(3){
                                margin-bottom: 10px;
                                font-size: 16px;
                                color: #B1191A;
                            }
                            button{
                                padding: 10px 25px;
                                background: #e1251b;
                                color: #FFF;
                                font-size: 16px;
                                border: none;
                            }
                        }
                    }
                }
                ul{
                    float: left;
                    li{
                        float: left;
                        width: 127px;
                        margin: 0 20px;
                        text-align: center;
                        img{
                            width: 120px;
                            height: 130px;
                        }
                    }
                }
            }
        }
        .main_bot_r_b{
            ul{
                background:  #ededed;
                padding-left: 1px;
                .clearfix;
                li{
                    float: left;
                    border: 1px solid #DDD;
                    background: #FFF;
                    height: 40px;
                    padding: 0 11px;
                    line-height: 40px;
                    margin-left: -1px;
                    &.active{
                        background: red;
                        color: #FFF;
                    }
                }
            }
            .boxList{
                li{
                    display: none;
                }
                .show{
                    display: block;
                }
            }
        }
    }
}